<!--
    This page contains the form "Generalities Locality"
    with locality information about the building
-->
<p id="subtitle"><?php echo TXT_LOCALITY; ?></p>

<div style="background-color: #f2f2f2; margin : 10px; padding : 20px; border-radius: 10px; Box-shadow: 2px 2px 8px 1px rgba(0,0,0,0.4);">

    <table id="generalitiesLocalityTab" style="width: 900px;">
    <tr>
        <th style="text-align: left;">
            <?php echo TXT_LANDSCAPE; ?>
            <img id="tooltip" src="../images/help.png" title="<?php echo TXT_HELP_LANDSCAPE; ?>" />    
        </th>
        <td style="padding-left: 40px;">
            <input type="radio" name="landscape" value="1" checked> <?php echo TXT_CITY; ?>
            <input type="radio" name="landscape" value="2"> <?php echo TXT_COUNTRYSIDE; ?>
        </td>
    </tr>
    <tr>
        <th class="paddingCell" style="vertical-align: top; text-align: left;">
            <br>
            NPA / <?php echo TXT_LOCALITY; ?>
            <img id="tooltip" src="../images/help.png" title="<?php echo TXT_HELP_LOCALITY; ?>" />    
        </th>
        <td style="padding-left: 40px;">
            <div>
                <br>
                <div id="map"></div>
                <div class="div.googleMapAddressFormDiv">
                    <label for="address"><?php echo(TXT_ADDRESS); ?></label>
                    <input type="text" name="address" id="address" onblur="updateProgressBar()" onkeydown="callGeocodate()"/>
                    <!--<input type="submit" id="addressButton" value="Get Coordinates" />-->
                    <button type="button" id="addressButton" onclick="getInformation()"><?php echo(TXT_GEOCODATE); ?></button> 
                </div>
                <div id="address_errorMsg"></div>
            </div>
        </td>
    </tr>
</table>
</div>